<template>
  <div class="integral">
      <my-head title="荷包" :go="true" :ri="false"></my-head>
      <div class="content">
        <div class="inte">
          <div class="inte-type">
            <div>累积获得<span>0</span></div>
            <div>可用积分<span>0</span></div>
            <div>已用积分<span>0</span></div>
          </div>
          <div>
            <button @click="goto('member')">积分换礼</button>
          </div>
        </div>
        <div class="inteinfo">
          <div class="tit">积分明细</div>
        </div>
        <div class="intelist">
          <div>
            <img src="@/assets/null_hui.png" alt="">
            <p>暂无数据</p>
          </div>
        </div>
      </div>
  </div>
</template>

<script>
import Head from "@/components/Head"
export default {
  data(){
    return {

    }
  },
  methods:{
    goto(val){
      this.$route.push({path:"/"+val})
    }
  },
  components:{
    myHead:Head
  }
}
</script>

<style scoped lang="less">
  .integral{
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    .content{
      flex: 1;
      background: #f4f4f4;
      display: flex;
      flex-direction: column;
      .inte{
        padding: 0.2rem;
        background: #fff;
        border-top: 0.01rem #e4e4e4 solid;
        .inte-type{
          display: flex;
          flex-direction: row;
          margin-bottom: 0.2rem;
          div{
            flex: 1;
            display: flex;
            flex-direction: column;
            border-right: 0.01rem #e4e4e4 solid;
            font-size: 0.15rem;
            span{
              color: #ff8b38;
              margin-top: 0.13rem;
            }
          }
          div:last-child{
            border: 0;
          }
        }
        div{
            text-align: center;
            button{
                border: 0;
                background: #ff8b38;
                color: #fff;
                font-size: 0.15rem;
                padding: 0.11rem 0.23rem;
                border-radius: 0.05rem;
                outline: none;
            }
        }
        
      }
      .inteinfo{
        margin-top: 0.2rem;
        .tit{
          text-align: center;
          color: #ff8b38;
          padding: 0.16rem 0;
          font-size: 0.15rem;
          background: #fff;
        }
      }
      .intelist{
        div{

          img{
            display: block;
            width: 2.35rem;
            height: auto;
            margin: 0 auto;
          }
          p{
            text-align: center;
            font-size: 0.14rem;
            padding: 0.14rem 0;
            color: #8f8f8f;
          }
        }
      }
    }
  }
</style>
